<?php
 header("Content-Type:text/html;charset=utf-8");
$msg = '测试日志类08-05';
include('nns_debug_log_class.php');
$log =   nns_debug_log_class::get_instance();
$log->setlogpath('test');
$log->setlog($msg,'xsong512');
$log->write('write--xsong512');
echo $msg;